package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 家长接送信息
 * </p>
 *
 * @author hpiggy
 * @since 2023-04-27
 */
@TableName("pick_up")
@ApiModel(value = "PickUp对象", description = "家长接送信息")
@Data
public class PickUp implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("校区id")
    private Long schoolId;

    @ApiModelProperty("校区名称")
    private String schoolName;

    @ApiModelProperty("任课老师")
    private Long teacherId;

    @ApiModelProperty("任课老师姓名")
    private String teacherName;

    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("学生姓名")
    private String studentName;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("科目名称")
    private String subjectsName;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("学期：1寒假班，2春季班，3暑假班，4秋季班")
    private Integer quarterNum;

    @ApiModelProperty("学期名称")
    private String quarterName;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("年级名称")
    private String yearClassName;

    @ApiModelProperty("0幼儿园，1小学，2初中，3高中")
    private Integer gradeSection;

    @ApiModelProperty("班级id")
    private Long gradeId;

    @ApiModelProperty("班级名称")
    private String gradeName;

    @ApiModelProperty("0未填写，1家长接送，2自己回")
    private Integer pickupType;

    @ApiModelProperty("是否微信推送，0否，1是")
    private Integer isWxPush;

    @ApiModelProperty("备注")
    private String remark;

    private Integer deleted;

    private LocalDateTime createdAt;

    private Long createdId;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    @TableField(exist = false)
    private List<PickUp> pickUpList;

}
